<%-- 
    Document   : rutas
    Created on : 15/11/2010, 12:28:11 PM
    Author     : Administrador
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!doctype html>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="../js/ajax.js"></script>
	<script src="../js/rutas.js" type="text/javascript" ></script>
	<link href="../styles/rutas.css" media="screen" rel="stylesheet" type="text/css">
           <script type="text/javascript" src="../js/validations.js"></script>

        <link href="../js/jquery/alerts/jquery.alerts.css" rel="stylesheet" type="text/css" />
          <script src="../js/jquery/jquery-1.4.2.js" type="text/javascript"></script>
          <script type="text/javascript" src="../js/jquery/alerts/jquery.alerts.js"></script>
          
          
            <link rel="Stylesheet" media="screen" href="../js/jquery/timePickr/styles.css" />
        <link rel="Stylesheet" media="screen" href="../js/jquery/timePickr/ui.dropslide.css" />
        <script type="text/javascript" src="../js/jquery/timePickr/jquery.min.js"></script>
        <script type="text/javascript" src="../js/jquery/timePickr/ui.js"></script>
        <script type="text/javascript" src="../js/jquery/timePickr/jquery.utils.js"></script>
        <script type="text/javascript" src="../js/jquery/timePickr/jquery.strings.js"></script>
        <script type="text/javascript" src="../js/jquery/timePickr/ui.dropslide.js"></script>
        <script type="text/javascript" src="../js/jquery/timePickr/ui.timepickr.js"></script>
        <script type="text/javascript">
            $(function(){
                //$('#test-1').timepickr({trigger: '#trigger-test'});
              $('#departuretime').timepickr({handle: '#trigger-test'});
            });
        </script>


        <title>Cities</title>
    </head>
    <body onload="loadInformation()">
        <table>
            <tr>
                <td colspan="6" align="center">

                    <div id="datesvehicles">
                        <table>

                             <tr>
                                <td align="right">
                                    <span> ID vehicle: </span>
                                </td>
                                <td>
                                    <select  id="idvehicles"><option>Seleccione</option></select>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <span> Cost: </span>
                                </td>
                                <td>
                                    <input type="text" id="cost" onkeypress="return soloNumeros(event)">
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <span> Departure time: </span>
                                </td>
                                <td>
                                    <input type="text" id="departuretime" onkeypress="return false;">
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <span> Duration: </span>
                                </td>
                                <td>
                                    <input type="text" id="duration" onkeypress="return soloNumeros(event)">
                                </td>
                            </tr>
                              
                            <tr>
                                <td align="right">
                                    <span> Origin: </span>
                                </td>
                                <td>
                                    <select  id="origin"><option>Seleccione</option></select>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <span> Destination: </span>
                                </td>
                                <td>
                                    <select  id="destination"><option>Seleccione</option></select>
                                </td>
                            </tr>


                            <tr>
                                <td colspan="2" align="center">
                                    <input type="button" id="Add" onclick="addroutes()" value="ADICIONAR">
                                    <input type="button" id="Update" onclick="updateroute()" value="MODIFICAR">
                                    <input type="button" id="Delete" onclick="deleteroute()" value="ELIMINAR">
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </body>
</html>

